package cn.base.project.exception.custom.code;

/**
 * Created by Linwq on 2017/12/20.
 */
public enum ErrorCode {
    FRONT_END_DATA_ERROR("前端数据错误！","00001");

    private String message;
    private String errorCode;

    private ErrorCode(String message, String id) {
        this.message = message;
        this.errorCode = id;
    }
    public String getMessage() {
        return message;
    }
    public String getErrorCode() {
        return errorCode;
    }
}
